package com.bqkj.IService;

import com.bqkj.model.UserInfo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * Created by Administrator on 2017/6/28 0028.
 */
@FeignClient(value = "service-web")
public interface IUserInfoService {

    @RequestMapping(value = "/users/getAll", method = RequestMethod.GET)
    public List<UserInfo> getAll();
}
